import { defineStore } from "pinia";
// 命名格式必须是useXxx  称为Hook函数
export const useCounter = defineStore("counter", {
  state: () => ({
    num: 100,
  }),
});
